package com.hmdp.utils;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "login:user:";
    public static final Long LOGIN_USER_TTL = 30L;
    public static final Long CACHE_SHOP_TTL = 30L;
    public static final Long LOCK_TTL = 10L;
    public static final Long LOCK_Shop_TTL = 10L;
    public static final Long CACHE_NULL_TTL = 2L;
    public static final String CACHE_SHOP = "cache:shop:";
    public static final String CACHE_SHOPTYPE = "cache:shoptype:";
    public static final String CACHE_LOCK_SHOP = "lock:shop:";
}
